package com.yunxi.service.localService.account.impl;

import com.yunxi.account.pojo.AccountTypeVO;
import com.yunxi.core.service.ServiceImplPlus;
import com.yunxi.dao.account.AccountTypeMapper;
import com.yunxi.model.account.AccountType;
import com.yunxi.service.localService.account.AccountTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 帐户类型 服务实现类
 * </p>
 *
 * @author 
 * @since 2019-05-16
 */
@Service
public class AccountTypeServiceImpl extends ServiceImplPlus<AccountTypeMapper, AccountType> implements AccountTypeService {

   @Autowired
   AccountTypeMapper accountTypeMapper;

   @Override
   public AccountTypeVO load(String accountTypeCode) {
     return accountTypeMapper.load(accountTypeCode);
   }

   @Override
   public List<AccountTypeVO> listAccountType(AccountTypeVO accountTypeVO) {
      return accountTypeMapper.listAccountType(accountTypeVO);
   }
}
